import Vue from 'vue'
import Router from 'vue-router'
import login from '@/views/login'
import students from '@/views/students'
import messages from '@/views/messages'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/students',
      name: 'students',
      component: students
    },
    {
      path: '/messages',
      name: 'messages',
      component: messages
    }
  ]
})
